package 权限修饰符;

public class class1 {
    private int num = 10;
    int num1 = 10;
    protected int num2 = 10;
    public int num3 = 10;

    public void method() {
        System.out.println(num);
        System.out.println(num1);
        System.out.println(num2);
        System.out.println(num3);
    }

}
